﻿

Public Interface IRepository(Of T)
    Function Query() As IQueryable(Of T)
    Function Add(ByVal entity As T) As T
    Sub Remove(ByVal entity As T)
    Sub Attach(ByVal current As T, ByVal original As T)
    Sub Attach(ByVal current As T)
    Sub SubmitChanges()
End Interface


